function interface interview questions